/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.framework.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The Interface ColumnQuery.
 *
 * @author Xi Wei
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ColumnQuery {

	/**
	 * Name.
	 *
	 * @return the string
	 */
	public String name() default "";

	/**
	 * Operator.
	 *
	 * @return the operator
	 */
	public Operator operator() default Operator.EQUAL;
	
	/**
	 * Adds the is null.
	 *
	 * @return true, if successful
	 */
	public boolean addIsNull() default true;//Only applicable for systemId
}
